<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Pyramid Ratings | The REAL Estate Research
</title>

<link rel="icon" type="image/png" href="images/final logo.jpg"/>
<link rel="stylesheet" type="text/css" href="styles/style_home.css">
<link rel="stylesheet" type="text/css" href="styles/Cart.css" />
<link rel="stylesheet" type="text/css" href="styles/Checkout_ShippingAddress.css"/>
<link rel="stylesheet" type="text/css" href="styles/jquery.simplyscroll.css">
<link rel="stylesheet" type="text/css" media="screen" href="vallenato/vallenato.css" >

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.simplyscroll.min.js"></script>
<script type="text/javascript" src="vallenato/vallenato.js"></script>
<script type="text/javascript" src="js/jquery.corner.js"></script>
<script type="text/javascript" src="js/modernizr.js"></script>

<script type="text/JavaScript">

$('#whiteTransparent').corner("bottom 3px");
$('#whiteTransparent').corner("5px");


</script>

<script type="text/javascript">

</script>
<script>
contextInfo = new Object(); 
contextInfo['projects'] = "";
$(document).ready(function(){

	$.ajax({url:"rest/contact/retrieveFeaturedProperty.php",
		type:'POST',
		data : {featured:'Y'},
		success:function(result){
		if(result){
			//console.log('success');
			var data = JSON.parse(result);
			//console.log(data);
			var dataText = "";
			if(data.success == true){
				var projects = data.projects;
				contextInfo['projects'] = data.projects;
				for(var key in projects){
					var htmlText = '<li><a href=\'javascript:void(0)\'><img id="'+key+'" src="images/scroll/'+projects[key].projectId+'.jpg" width=\'290\' height=\'200\' title=\''+projects[key].projectName+'\'></a></li>'
					dataText = dataText + htmlText;
				}
			}else{
			
			
			}
			//console.log(dataText);
			document.getElementById('scroller').innerHTML=dataText;
			(function($) {
				$(function() {
					$("#scroller").simplyScroll({
						pauseOnTouch: true,
						pauseOnHover: true
					});
				});
			})(jQuery);
			if(!Modernizr.input.placeholder){

	$('[placeholder]').focus(function() {
	  var input = $(this);
	  if (input.val() == input.attr('placeholder')) {
		input.val('');
		input.removeClass('placeholder');
	  }
	}).blur(function() {
	  var input = $(this);
	  if (input.val() == '' || input.val() == input.attr('placeholder')) {
		input.addClass('placeholder');
		input.val(input.attr('placeholder'));
	  }
	}).blur();
	$('[placeholder]').parents('form').submit(function() {
	  $(this).find('[placeholder]').each(function() {
		var input = $(this);
		if (input.val() == input.attr('placeholder')) {
		  input.val('');
		}
	  })
	});

}
			
		}
		},
		error:function(result){
			//console.log('failure');
			//console.log(result);
		}
	});

	$('#quickContactSubmit').click(function () {
	    alert('clciked');
	    var name = document.getElementById('name').value;
	    var phoneNumber = document.getElementById('phoneNumber').value;
	    alert(name + phoneNumber);

	    $.ajax({
	        url: "rest/contact/saveContacts.php",
	        type: 'Get',
	        data: {
	            name: name,
	            contact: phoneNumber
	        },

	        success: function (result) {
	            if (result) {
	                var response = JSON.parse(result);
	                if (response.success == true) {

	                    alert('in true');
	                    alert(response.success);
	                } else {
	                    alert('in false');
	                    alert(response.success);
	                }
	            }
	        },
	        error: function () {
	            console.log('failure');

	        }
	    });
	});

	
	$('#scroller').delegate('li','click',function(event) {
		var key = event.target.id;
		var projectDetails = contextInfo['projects'];
		if(projectDetails == ""){
		return;
		}
		var projectId = projectDetails[key].projectId;
		document.getElementById('innerImage').src='images/scroll/'+ projectId +'.jpg';
		var projectDetailsInfo = '<h3>'+ projectDetails[key].projectName;
		for(var i = 0 ; i < projectDetails[key].ratingStar ; i++){
			projectDetailsInfo += '&nbsp;<img src="images/icons/star/Favourites.png" height="15" width="15"/>'
		}
		projectDetailsInfo +='<img title="Rating Standards" src="images/icons/rating/log.png" height="30" width="30" style="float:right;margin-right:20px;"/></h3><hr />'
		projectDetailsInfo += projectDetails[key].projectDesc;		
		document.getElementById('projectDetailsInfo').innerHTML = projectDetailsInfo;
		document.getElementById('projectDetailsInfo').innerHTML = projectDetailsInfo;
		document.getElementById('projectIdContactForm').value = projectId;
		document.getElementById('light').style.display='block';
		document.getElementById('fade').style.display='block';		
	 });
	 
	 var validate = function(type,testValue){
		var emailRegex =/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
		var mobileRegex =/^[0-9]\d{9}$/g;
		var alphaRegex =/^[A-Za-z ]+$/g; 
		var pinRegex =/^[0-9]\d{5}$/g;
		if(type == 'alpha' ){
			type=alphaRegex;
		}else if (type == 'pin'){
			type=pinRegex;
		}else if (type == 'address'){
			type=addressRegex;
		}else if (type == 'mobile'){
			type=mobileRegex;
		}else{
			type=emailRegex;
		}
		if(type.test(testValue)){		
			return true;
		}else {
			return false;
		}
	}
	
	$("#fname").blur( function(){
		if(this.value && !validate('alpha',this.value)){
			alert('Incorrect Input');
		}	
	});
	$("#lname").blur( function(){
		if(this.value && !validate('alpha',this.value)){
			alert('Incorrect Input');
		}	
	});
	$("#email").blur( function(){
		if(this.value && !validate('email',this.value)){
			alert('Incorrect Input');
		}	
	});
	$("#contact").blur( function(){
		if(this.value && !validate('mobile',this.value)){
			alert('Incorrect Input');
		}	
	});
	
	$('#contactFormSubmit').click( function(){
		var fname = $("#fname").val();
		var lname = $("#lname").val();
		var email = $("#email").val();
		var contact = $("#contact").val();
		var projectId = $("#projectIdContactForm").val();
		if(!validate('alpha',fname) || !validate('alpha',lname) || !validate('email',email) || !validate('mobile',contact)){
			alert('Error');
			return;
		}
		$.ajax({url:"rest/contact/saveContactProject.php",
			type:'POST',
			data : {
			fname : fname,
			lname : lname,
			email : email,
			contact : contact,
			projectId : projectId
			},
			success:function(result){
				var data = JSON.parse(result);
				if(data.success == true){
					alert('Thank You for your request.');
				} else {
					alert('Error. PLease Try again later');
				}
			},
			error:function(result){
				alert('Error. PLease Try again later');
			}
		});
	 });
	


});


</script>

</head>

<body>

<div class="header">
    <div style="width:940px; height: 60px; text-align:left; margin-left: auto; margin-right: auto;vertical-align:middle;">
		<div class ="logo">
		<table border="0">
		<tr>
		<td >
		<div style="none">
		
		<img src="images/final logo.jpg" width="69" height="53" border="0" id="logo" >
		</div>
		</td>
		<td > 
		<h1>PYRAMID RATINGS</h1>
		</td>
		
		</tr>
	   
		</table>
		</div>
           
        <div style="float:right;padding-top:30px;">
        <a href="index.html" class="active">Home</a>
        <a href="about.html">About us</a>        
        <a href="process.html">Process</a>
        <a href="contact.html">Contact us</a>
        <a href="pdfs/Pyramid_Buyer.pdf" target="_blank">Download E-magazine</a>

 	  	</div>
    </div>
</div>
  
  
<div class="page">
<table align="center" border="0" width="960" cellpadding="0">

<tr align="right">
<td width="318" height="178" valign="top" >
    <table border="0" id="whiteTransparent" width="100%">
    <tr><td><h1>The REAL estate rating</h1></td></tr>
    </table>

</td>
<td colspan="3"></td>

<td width="389" valign="top" >
<br />
<!--<div id="blueTransparent">
<img src="images/pdf.png" />
<a href="pdfs/Pyramid_Buyer.pdf" target="_blank">
Download E-magazine
</div>-->

 <div class="accordion-header">
     <!--<img src="images/MetroUI_Phone.png" width="20" height="20" />-->

     Quick Contact</div>
     <div class="accordion-content">

         <input id="name" placeholder="Name" class="quickContactText" />    
         <input id="phoneNumber"  placeholder="Phone number" class="quickContactText" /> 
         <a id="quickContactSubmit" class="sendButton" onclick = ""> Call me</a>

     </div>


</td>
</tr>

<tr align="right">
<td height="84"></td>
<td colspan="3"></td>

<td valign="top"  >
    
     
</td>
</tr>
<tr align="center">
<td height="20" colspan="5" >


<!--<table width="260" height="252"  border="1">
<tr>
<td width="73" height="88" id="whiteTransparent"><img src="images/logo - Copy.jpg" alt="logo" width="64" height="61" /></td>
<td width="57"></td>
<td width="112"></td>
</tr>
<tr>
<td height="76" id="whiteTransparent">
<h1>The</h1>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td colspan="2" height="78" id="whiteTransparent" align="left">
<h1>REAL</h1>
</td>
<td></td>
</tr>

<tr>
<td colspan="3" height="78" id="whiteTransparent">
<h1>estate ratings</h1>
</td>
<td width="0"></td>
</tr>
</table>-->


 

</td>

</tr>
<!--<tr>
<td width="312" height="238" >
    <table border="0" id="whiteTransparent">
    <tr>
    <td width="76" align="right"><img src="images/rupee.png" width="38" height="38" /></td>
    <td width="216" align="left"><h2>Fair Pricing</h2></td>
   <td width="57"></td>
    </tr>
    <tr>
    <td colspan="3">
    <hr />
    <ul><li>Coverage of commercial and residential properties.</li>
    <li>Rating by trained and experienced professionals.</li>
   
    </ul>
   	
    </td>
    </tr>
    </table>


</td>
<td width="14"></td>
<td width="294">
	<table border="0" id="whiteTransparent">
    <tr>
    <td width="81" align="right"><img src="images/thin-168_law_justice_lawyer_judge_court_attorney-48.png" width="38" height="38" /></td>
    <td width="150"><h2>Unbiased</h2></td>
    <td width="57"></td>
    </tr>
    <tr>
    <td colspan="3">
    <hr />
    <ul><li>Coverage of commercial and residential properties.</li>
    <li>Rating by trained and experienced professionals.</li>
   
    </ul>
    </td>
    </tr>
    </table>
</td>
<td width="18"></td>
<td width="310">
	<table border="0" id="whiteTransparent">
    <tr>
    <td width="22%" align="right"><img src="images/519895-013_MagnifyingGlass-128.png" width="38" height="38" /></td>
    <td width="78%"><h2>Comprehensive</h2></td>
<td width="57"></td>
    </tr>
    <tr>
    <td colspan="3">
    <hr />
    <ul><li>Coverage of commercial and residential properties.</li>
    <li>Rating by trained and experienced professionals.</li>
   
    </ul>
    </td>
    </tr>
    </table>
</td>
</tr>-->
</table>
<br>
<!--
<table border="0" cellpadding="9" align="center" >
<tr><td align="center">
<h2>Featured Projects</h2>
(<a class="viewAll" href="projects.html">view all</a>)
</td></tr>
<tr><td bgcolor="#FFFFFF">
<ul id="scroller">
    <li><a href="javascript:void(0)" onclick="document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block';"><img src="images/scroll/20080513_4D3SD1BQ_tb.jpg" width="290" height="200" alt="Chloe nightclub"></a></li>
    <li><a href="javascript:void(0)" onclick="document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block';"><img src="images/scroll/20080513_VPJWVQRW_tb.jpg" width="290" height="200" alt="Firehouse bar"></a></li>
    <li><a href="javascript:void(0)" onclick="document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block';"><img src="images/scroll/20080514_B1YJ08B6_tb.jpg" width="290" height="200" alt="Firehouse chloe club fishtank"></a></li>
    <li><a href="javascript:void(0)" onclick="document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block';"><img src="images/scroll/20080514_JYW68XPT_tb.jpg" width="290" height="200" alt="Firehouse restaurant"></a></li>
    <li><a href="javascript:void(0)" onclick="document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block';"><img src="images/scroll/20080608_38CG51J2_tb.jpg" width="290" height="200" alt="Firehouse"></a></li>
</ul>


</td></tr>
</table>
-->
<br><br><br>
<table border="0" width="970" align="center" width="600"  >
<tr><td>
Pyramid Ratings is an autonomous  rating and research firm.Its first venture is into Real Estate Sector where we facilitate buyers, builders & investors to identify well rated and researched projects both in the "residential & commercial segment". We formulate rating process and techniques to differentiate the great from the good.
<br><br>
The rating can be assigned to residential,commercial,office,townships,mixed development projects etc.
<br><br>

We engage well trained, professional and experienced research team who is dedicated in the evaluation and analysis of the project.
<br><br>

The rating process is unilaterally developed and standardized process.


<h2>What We Do</h2>
<hr class="style-two" />
<ul>
<li>Pyramid ratings identify and indicate the rating of a real estate projects both in Residential & Commercial space.The rating can be assigned to a project at  any stage.Ongoing as well as projects that are yet to be launched can obtain the rating.</li>

<li>The rating process completes in three steps, and involves a highly qualified and experienced group of professional who evaluates the entire project. </li>

<li>The ratings are assigned on Five point scale,which is specific to a city where 5 Pointers (Stars) is the highest and 1 Pointers (Stars) being the Lowest.</li>

<li>The process followed to rate the project is scientifically developed and it is unilateral, standardized and unbiased.</li>

<li>We monitor regularly the key milestones of the project.</li>

<li>The initial rating can be upgraded or downgraded at any time as the case may be.</li>

<li>On completion we provide a final rating certificate and a rating report on the project.</li>

</ul>

</td>
</tr>
</table>


<div id="light" class="white_content" >
    <div id="close_button" style="position:fixed;float:right;" >
        <a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none'"   ><img src="images/Close-button.png"  /></a>
    </div>   
 	<div id="table_container" style="overflow:auto" >
			<table border="0" width="100%"   height="400px"      >
            <tr>
            <td>
            <table border="0" width="100%"   height="400px"      >
            <tr><td>
            <img id='innerImage' src=""  width="590" height="400"/>
            </td></tr>
            <tr><td id="projectDetailsInfo">
            <h3>
            Eternia
            <img src="images/icons/star/Favourites.png" height="15" width="15"/>
            <img src="images/icons/star/Favourites.png" height="15" width="15"/>
            <img src="images/icons/star/Favourites.png" height="15" width="15"/>
            <img title="Rating Standards" src="images/icons/rating/log.png" height="30" width="30" style="float:right;margin-right:20px;"/>
            </h3> 

            
            <hr />
            Rating based on proper evaluation by trained and experienced professionals. 
            </td></tr>
            </table>
            
            </td>
            <td width="270" valign="top">
            
                <table bgcolor="#FFFFFF" border="0" width="270" height="100%">
                <tr><td height="95" align="center"  >
                <div class="contactBlueBack" > 
                <font color="#FFFFFF" size="6">Get More Information</font>
                </div>
                <div class="contactBlackBack">
				    <input type="text" id = "fname" placeholder="First Name" />    
                    <input type="text" id = "lname" placeholder="Last Name" /> 
                    <input type="text" id = "email" placeholder="Email" />
                    <input type="text" id = "contact" placeholder="Phone" />
					<input type="hidden" id = "projectIdContactForm" />
                    <br>
                    <br>
                <a href = "javascript:void(0)" class="contactBtn" id="contactFormSubmit"> Contact me</a>
                </div>
                </td></tr>
                </table>
                        
                        
            
            
            
            
            
            
            </td>
            </tr>
            </table>
	</div>
</div>

<div id="fade" class="black_overlay" onclick = "document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none'" />





</div>


<!--<div class="pageBlue" >
  <br>  <br>  <br>  
    <br>  <br>
    <center>
    <font  size="50" color="#FFFFFF">
Your only destination before buying a home    </font>
    </center>
    
      <br>  <br>  <br> <br>  <br>  <br>  <br><br>  <br>  <br>  <br>  <br>  <br><br>  <br>  <br>  <br>  <br>  <br>
  </div>-->
  
	
<div id="footer">
	<div class="wrap">
		<div id="connect">
			<br />			<br />			<br />			<br />			<br />			<br />			<br />
		</div>
			
        	
	</div>

    
</div>
<!-- End #footer -->
  
</body>
</html>
